package copy.pojo;

import copy.express.pojo.Node;
import copy.express.pojo.NodeStack;

/**
 * stu.age > 1 && (stu.age <20 && stu.age >2 ) ? 1:0
 * stu.name.equals(stu2.name)   // 算法左括号,前面一个字符不是运算符
 * '111'.equals(stu2.name)
 */
/*class EqualsMeta{
    Node leftNode;
    Node rightNode;
}*/
public class IfMeta {
    private String ifExpression;
    //判断语句
    private NodeStack conditionNodeStack;
    //true的语句
    private NodeStack trueNodeStack;
    //fasle的语句
    private NodeStack falseNodeStack;

    public String getIfExpression() {
        return ifExpression;
    }

    public void setIfExpression(String ifExpression) {
        this.ifExpression = ifExpression;
    }

    public NodeStack getConditionNodeStack() {
        return conditionNodeStack;
    }

    public void setConditionNodeStack(NodeStack conditionNodeStack) {
        this.conditionNodeStack = conditionNodeStack;
    }

    public NodeStack getTrueNodeStack() {
        return trueNodeStack;
    }

    public void setTrueNodeStack(NodeStack trueNodeStack) {
        this.trueNodeStack = trueNodeStack;
    }

    public NodeStack getFalseNodeStack() {
        return falseNodeStack;
    }

    public void setFalseNodeStack(NodeStack falseNodeStack) {
        this.falseNodeStack = falseNodeStack;
    }

}
